package com.ant.storage.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author hzd
 * @version 1.0
 * @date 2022/4/2 15:30
 */
@Data
public class PurchaseOrdersVo {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "采购单号")
    @TableField("orders_number")
    private String ordersNumber;

    @ApiModelProperty(value = "申请审核id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "部门id")
    @TableField("department_id")
    private Integer departmentId;


    @ApiModelProperty(value = "供应商id")
    @TableField("supplier_id")
    private Integer supplierId;

    @ApiModelProperty(value = "商品中间表id")
    @TableField("goods_pool_commodity_id")
    private Integer goodsPoolCommodityId;


    @ApiModelProperty(value = "采购实际金额")
    @TableField("goods_total_price")
    private BigDecimal goodsTotalPrice;


    @ApiModelProperty(value = "物品采购状态  1 未完成 2 完成")
    @TableField("goods_status")
    private Integer goodsStatus;


    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "入库状态 0未入库 1 已入库")
    @TableField("warehouse_id")
    private Integer warehouseId;

    @ApiModelProperty(value = "图片")
    @TableField("img")
    private Integer img;

    @ApiModelProperty(value = "采购人id")
    @TableField("purchaser_id")
    private Integer purchaserId;

    @ApiModelProperty(value = "结算")
    @TableField("is_settlement")
    private Integer isSettlement;

    @ApiModelProperty(value = "采购渠道")
    @TableField("channel")
    private Integer channel;

    @TableField("modifier_by")
    private String modifierBy;

    @TableField("creation_time")
    private Date creationTime;


}
